#ifndef LOGIN_WIDGET_H
#define LOGIN_WIDGET_H

#include <QWidget>
#include "msgsocket.h"

namespace Ui {
class login_widget;
}

class login_widget : public QWidget
{
    Q_OBJECT

public:
    explicit login_widget(QWidget *parent = 0);
    ~login_widget();

    msgsocket *m_msgSocket;

signals:

    ///参数：发送用户账号信息
    void loginSignalTOcilent(msgsocket*,QString);
    void creat_account(QString,QString);

private slots:

    void on_pb_login_clicked();

    void on_pb_logon_clicked();

    void on_cb_isAutoLogin_clicked();

    void SltTcpStatus(const quint8 &state);



private:
    Ui::login_widget *ui;

};

#endif // LOGIN_WIDGET_H
